/*!
    \file  main.c 
    \brief this file realizes the MSC host
    
    \version 2018-03-26, V1.0.0, demo for GD32E10x
*/
#include "bsp.h" 
#include "os_obj.h" 

/*****************************************************************************//*!
*
* @brief   main routine.
*     
* @param   none
*
* @return  none
*
* @ Pass/ Fail criteria: none
*****************************************************************************/
int main(void)
{
	bsp_Init();
	
    tx_kernel_enter();

    while (1) {}
}

/*******************************************************************************
* @brief  tx_application_define : called by tx_kernel_enter.
* \param[in] first_unused_memory :mem address that is unused
* \retval: none
*******************************************************************************/
void  tx_application_define(void *first_unused_memory)
{
    os_thread_init();
}


void lib_os_lock(void)
{}
	
void lib_os_unlock(void)
{}

void lib_check_hook(int st)
{

}

